﻿using System;
using Zzt.ExpertsCore.Domain.Models.Enums;

namespace Zzt.ExpertsCore.Domain.Entities
{
    public class Expert : BaseRecordEntity
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 人员类型
        /// </summary>
        public ExpertType ExpertType { get; set; }
        /// <summary>
        /// 头像地址
        /// </summary>
        public string AvatarUrl { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCard { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTimeOffset? BirthDate { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        public PoliticalStatus PoliticalStatus { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string CellPhone { get; set; }
        /// <summary>
        /// 毕业院校
        /// </summary>
        public string GraduateAt { get; set; }
        /// <summary>
        /// 毕业时间
        /// </summary>
        public DateTimeOffset? GraduateBy { get; set; }
        /// <summary>
        /// 最高学历
        /// </summary>
        public EducationDegree Education { get; set; }
        /// <summary>
        /// 专业
        /// </summary>
        public int? MajorId { get; set; }
        public EducationMajor Major { get; set; }
        /// <summary>
        /// 家庭住址
        /// </summary>
        public string HomeAddress { get; set; }
        /// <summary>
        /// 家庭联系电话
        /// </summary>
        public string HomeContact { get; set; }
        /// <summary>
        /// 工作年限
        /// </summary>
        public string WorkDuration { get; set; }
        /// <summary>
        /// 工作单位
        /// </summary>
        public int? CompanyId { get; set; }
        public virtual Company Company { get; set; }
        /// <summary>
        /// 办公通讯地址
        /// </summary>
        public string WorkAddress { get; set; }
        /// <summary>
        /// 职务
        /// </summary>
        public string Position { get; set; }
        /// <summary>
        /// 职务级别
        /// </summary>
        public PositionLevel PositionLevel { get; set; }
        /// <summary>
        /// 办公电话
        /// </summary>
        public string WorkPhoneNumber { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 职称
        /// </summary>
        public string JobTitle { get; set; }
        /// <summary>
        /// 职称级别
        /// </summary>
        public JobTitleLevel JobTitleLevel { get; set; }
        /// <summary>
        /// 主要工作经验
        /// </summary>
        public string Experiences { get; set; }
        /// <summary>
        /// 其它专业资格
        /// </summary>
        public string OtherCertification { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Comment { get; set; }

        /// <summary>
        /// 是否激活
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 是否加入工程库
        /// </summary>
        public bool IsAddLibrary { get; set; }
    }
}
